package com.lfz.manage.pojo;

import com.lfz.common.pojo.BasePOJO;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Daniel
 */
@Table(name = "tb_company")
public class Company extends BasePOJO implements Serializable {

    public static final int STATUS_OK = 0;
    public static final int STATUS_DELETE = 1;
    private static final long serialVersionUID = 2915376493198270835L;


    @Id
    private String compId;
    private String compName;
    private String compIndustry;
    private String compStage;
    private String compSize;
    private String compUrl;
    private String compAddress;
    private String compHomepage;
    private String compDesc;
    /**
     * 记录状态 0-正常，1-删除
     */
    private Integer status = STATUS_OK;


    public String getCompId() {
        return compId;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getCompIndustry() {
        return compIndustry;
    }

    public void setCompIndustry(String compIndustry) {
        this.compIndustry = compIndustry;
    }

    public String getCompStage() {
        return compStage;
    }

    public void setCompStage(String compStage) {
        this.compStage = compStage;
    }

    public String getCompSize() {
        return compSize;
    }

    public void setCompSize(String compSize) {
        this.compSize = compSize;
    }

    public String getCompUrl() {
        return compUrl;
    }

    public void setCompUrl(String compUrl) {
        this.compUrl = compUrl;
    }

    public String getCompAddress() {
        return compAddress;
    }

    public void setCompAddress(String compAddress) {
        this.compAddress = compAddress;
    }

    public String getCompHomepage() {
        return compHomepage;
    }

    public void setCompHomepage(String compHomepage) {
        this.compHomepage = compHomepage;
    }

    public String getCompDesc() {
        return compDesc;
    }

    public void setCompDesc(String compDesc) {
        this.compDesc = compDesc;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        super.toString();
        return "Company{" +
                "compId='" + compId + '\'' +
                ", compName='" + compName + '\'' +
                ", compIndustry='" + compIndustry + '\'' +
                ", compStage='" + compStage + '\'' +
                ", compSize='" + compSize + '\'' +
                ", compUrl='" + compUrl + '\'' +
                ", compAddress='" + compAddress + '\'' +
                ", compHomepage='" + compHomepage + '\'' +
                ", compDesc='" + compDesc + '\'' +
                ", status=" + status +
                '}';
    }
}
